<?php
/**
 * @Author: lianlianzan(13040@qq.com)
 * @Date:   2018-08-18 16:40:16
 * @Last Modified by:   zhaozilong
 * @Last Modified time: 2018-11-24 08:45:44
 */

namespace app\home\controller;

use app\BaseController;
use think\facade\Env;
use think\response\Redirect;

class Index extends HomeBase {
    public function index() {
		//读取版本信息
		$version = file_get_contents(root_path().'version.txt');
		$this->assign('version', $version);
		
		//设置seo
		$this->setSeoFrontHome();
		
		return $this->fetch();
    }
}